﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Project01
{
    class MonsterType05 : Monster
    {
       
        //Dữ liệu về Monster05
       

      public  MonsterType05(Game game)
            : base(game)
        {
                this.ObjectTexture = game.Content.Load<Texture2D>("Images/Monster/Mtype05");
                this.Sprite = new AnimationSprite(ObjectTexture, 1, 4);
                this.Speed = 1.5f;
                this.Health = 6;
                this.game = game;

              
        }

        public override void Update(GameTime gameTime)
        {
            Exp.Sprite.Position = SetPositionExplosion(Sprite.Position, 5, 20);
            Sprite.Update();
            Sprite.Position = Move.MoveVertical(Sprite.Position, -Speed);
            Active = CheckPosition(Sprite.Position);
            base.Update(gameTime);
        }
        public override void Draw(SpriteBatch SpriteBatch)
        {
            base.Draw(SpriteBatch);
        }
   
    }
}
